-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Chrome e2e tests #344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome e2e tests #344
Conversation
60e5c98
to
cd69a0f
Compare
Just had a thought that it might be good to run the tests as Mac, Windows, and Linux clients. Those values are set based on the user agent, could possibly set that? |
@code-asher It is possible to set the user agent for a page with puppeteer: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagesetuseragentuseragent. I think it uses the base platform to determine the user agent. |
c483146
to
c3c3216
Compare
b0c240e
to
dcc1c2e
Compare
$TRAVIS_JOB_NUMBER is unreliable, as it outputs the currently running job number ($TRAVIS_BUILD_NUMBER.XX) which seems to be the job that was started last.
4e362b1
to
6e30eb9
Compare
Describe in detail the problem you had and how this PR fixes it
--port
flag--password
flag--allow-http
flag--no-auth
flagIs there an open issue you can link to?
Fixes #339